package org.lanyu.springainovel.novel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 大纲更新/归档请求VO
 */
@Data
@Schema(name = "大纲更新/归档请求参数")
public class OutlineUpdateRequest {

    @Schema(description = "大纲id,更新必填")
    private Long id;
    
    @Schema(description = "书籍ID", required = true)
    @NotNull(message = "书籍ID不能为空")
    private Long bookId;
    
    @Schema(description = "大纲版本号（更新时使用，归档时不需要）")
    private Integer version;
    
    @Schema(description = "大纲内容")
    private String outlineDetails;
    
    @Schema(description = "章节规划")
    private String chapterPlanning;

    @Schema(description = "支线规划")
    private String subPlots;
    
    @Schema(description = "启用状态：0-禁用，1-启用")
    private Integer isActive;
    
    @Schema(description = "备注信息，标题作用")
    private String remark;
}